// Computed
function computed(getter) {
  const result = ref()

  effect(() => {
    result.value = getter()
  })

  return result
}
